<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>
    "use strict"
    var obj = {
        name:"admin",
        age:18,
        sex:"男"
    }
    
    obj.sayHello = "hello world"
    
    obj.age++;
    
    console.log(obj.name);

    delete obj.sex;
    delete obj.age;
    delete obj.name;
    delete obj.sayHello;
    
    console.log(obj)
    
    var qfH5 = "牛！";

    console.log(window)
    console.log(window.qfH5)


    function fn(){
        window.abc = "hahaha";
        console.log(abc);
    }
    fn();
    console.log(abc);

    function fn2(){
        window.qwe = "heiheiehi";
        console.log(qwe);
    }
    fn2();
    console.log(qwe);
</script>
</html>